import request from '@/http/request'
//柱图
export function getBar(type) {
  return request({
    url: `/appointments/BarFinishServiceAppointments`,
    method: 'get'
  })
}
//饼状图
export function getPie(type) {
  return request({
    url: `/appointments/PieFinishServiceAppointments`,
    method: 'get'
  })
}

//完成总数量

export function getCountFinish(type) {
  return request({
    url: `/appointments/countFinishServiceAppointments`,
    method: 'get'
  })
}
//发布总数量

export function getCountService(type) {
  return request({
    url: `/appointments/countServiceAppointments`,
    method: 'get'
  })
}

// 未完成总数量
export function getCountUnFinish(type) {
  return request({
    url: `/appointments/countUnFinishServiceAppointments`,
    method: 'get'
  })
}